home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Memory / Switch Stack / Read Me About Switch Stack next >
Encoding:
Text File  |  1998-02-04  |  1.5 KB  |  38 lines  |  [TEXT/ttxt]

  1. Read Me About Switch Stack
  2.  
  3. 1.0.1
  4.  
  5. This sample demonstrates how to switch to a private stack correctly.  The code is particularly useful for interrupt time programs that need a guaranteed amount of stack space.
  6.  
  7. The sample compiles for 68K only.  Doing this in PPC code is somewhat trickier.
  8.  
  9. Packing List
  10.  
  11. The sample contains the following items:
  12.  
  13. • Read Me About Switch Stack — This document
  14. • Switch Stack.c — Source to the sample
  15. • Switch Stack.r — Source to the sample’s resources.
  16. • Switch Stack.π.rsrc — A compiled version of the above.
  17. • Switch Stack CW.π — A CodeWarrior project for the sample.
  18. • Switch Stack CW — A compiled version of the above.
  19. • Switch Stack MPW.make — A MPW make file for the sample.
  20. • Switch Stack MPW — A compiled version of the above.
  21. • Switch Stack.π  — A Think C project for the sample.
  22. • Switch Stack THINK — A compiled version of the above.
  23.  
  24. Credits and Version History
  25.  
  26. If you find any problems with this sample, mail <DevSupport@apple.com> with “Attn: Quinn” as the first line of your mail and I’ll try to fix them up.
  27.  
  28. 1.0 (Oct 1993 — May 1995) Jim Luther — I've grouped all previous versions of this sample under version 1.0.  See the release notes in "Switch Stack.c".
  29.  
  30. 1.0.1 (Feb 1998) Quinn — Updated a comment in "Switch Stack.c" to emphasise the importance of holding your stack resident if you intend to use it at interrupt time. Added this Read Me document.
  31.  
  32. Share and Enjoy.
  33.  
  34. Quinn “The Eskimo!”
  35. Apple Developer Technical Support
  36. Networking, Communications, Hardware
  37. 4 Feb 1998
  38.